home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / hours15.zip / DOWN.BAT < prev    next >
DOS Batch File  |  1990-10-01  |  572b  |  31 lines

  1. @echo off
  2. cls
  3. echo  
  4. HOURS OFF
  5. echo  
  6. echo  
  7. if errorlevel = 4 goto error4
  8. if errorlevel = 3 goto error3
  9. if errorlevel = 2 goto error2
  10. if errorlevel = 1 goto error1
  11. echo  
  12. REM if you don't want to park your harddisk(s), remove the next line
  13. PARK.COM
  14. echo  
  15. :end
  16. goto end
  17.  
  18. :error1
  19. echo Wrong date in the 'hours.dat' file.
  20. goto error
  21. :error2
  22. echo Invalid parameter for 'HOURS.EXE'.
  23. goto error
  24. :error3
  25. echo Status 'a' instead of 'l' in the 'hours.dat' file.
  26. goto error
  27. :error4
  28. echo Status is neither 'a' nor 'l' in the 'hours.dat' file.
  29.  
  30. :error
  31.